﻿<UserControl x:Class="JustPlus.PlayerPanel"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="256" d:DesignWidth="256" Loaded="UserControl_Loaded">
    <Grid MouseEnter="Grid_MouseEnter" MouseLeave="Grid_MouseLeave">
        <Grid.Background>
            <SolidColorBrush />
        </Grid.Background>
        <Image Height="20" HorizontalAlignment="Left" Margin="196,0,0,0" Name="image1" Stretch="Fill" VerticalAlignment="Top" Width="20" Source="/JustPlus;component/Images/minization.png" ToolTip="最小化" MouseLeftButtonDown="image1_MouseLeftButtonDown" />
        <Image Height="20" HorizontalAlignment="Left" Margin="216,0,0,0" Name="image2" Stretch="Fill" VerticalAlignment="Top" Width="20" Source="/JustPlus;component/Images/minimode.png" ToolTip="Mini模式" />
        <Image Height="20" HorizontalAlignment="Left" Margin="236,0,0,0" Name="image3" Stretch="Fill" VerticalAlignment="Top" Width="20" Source="/JustPlus;component/Images/close.png" ToolTip="关闭" MouseLeftButtonDown="image3_MouseLeftButtonDown" />
        <Label Content="JustListen" Height="37" HorizontalAlignment="Left" Margin="26,8,0,0" Name="label1" VerticalAlignment="Top" Width="179" FontSize="18" FontWeight="Bold" />
        <Label Content="与喜欢的音乐不期而遇" Height="28" HorizontalAlignment="Left" Margin="26,38,0,0" Name="label2" VerticalAlignment="Top" Width="226" />
        <ProgressBar Height="4" HorizontalAlignment="Left" Margin="26,96,0,0" Name="progressBar1" VerticalAlignment="Top" Width="202" Foreground="Red" />
        <Label Content="加载中..." Height="28" HorizontalAlignment="Left" Margin="26,98,0,0" Name="label4" VerticalAlignment="Top" Width="101" />
        <Image Height="40" HorizontalAlignment="Left" Margin="26,140,0,0" Name="image4" Stretch="Fill" VerticalAlignment="Top" Width="40" Source="/JustPlus;component/Images/pause.png" ToolTip="暂停" MouseLeftButtonDown="image4_MouseLeftButtonDown" Tag="pause.png" />
        <Image Height="40" HorizontalAlignment="Left" Margin="71,140,0,0" Name="image5" Stretch="Fill" VerticalAlignment="Top" Width="40" Source="/JustPlus;component/Images/next.png" ToolTip="跳过" MouseLeftButtonDown="image5_MouseLeftButtonDown" />
        <Image Height="40" HorizontalAlignment="Left" Margin="151,140,0,0" Name="image6" Stretch="Fill" VerticalAlignment="Top" Width="40" Source="/JustPlus;component/Images/favourite.png" ToolTip="喜欢" ToolTipService.ShowOnDisabled="True" Tag="favourite.png"  MouseLeftButtonDown="image6_MouseLeftButtonDown" MouseEnter="image6_MouseEnter" />
        <Image Height="40" HorizontalAlignment="Left" Margin="196,144,0,0" Name="image7" Stretch="Fill" VerticalAlignment="Top" Width="40" Source="/JustPlus;component/Images/unlike.png" ToolTip="不喜欢" ToolTipService.ShowOnDisabled="True" MouseLeftButtonDown="image7_MouseLeftButtonDown" />
        <Image Height="20" HorizontalAlignment="Left" Margin="26,191,0,0" Name="image8" Stretch="Fill" VerticalAlignment="Top" Width="20" Source="/JustPlus;component/Images/share.png" ToolTip="分享"/>
        <Image Height="28" HorizontalAlignment="Left" Margin="141,185,0,0" Name="image9" Stretch="Fill" VerticalAlignment="Top" Width="30" Source="/JustPlus;component/Images/volume2.png" ToolTip="音量" Tag="volume2.png" MouseLeftButtonDown="image9_MouseLeftButtonDown" />
        <Label Content="" Height="27" HorizontalAlignment="Left" Margin="26,217,0,0" Name="label5" VerticalAlignment="Top" Width="85" />
        <Slider Height="11" HorizontalAlignment="Left" Margin="178,195,0,0" Name="slider1" VerticalAlignment="Top" Width="60"  Value="5" Foreground="Black" ValueChanged="slider1_ValueChanged" />
        <Image Height="20" HorizontalAlignment="Left" Margin="50,192,0,0" Name="image10" Stretch="Fill" VerticalAlignment="Top" Width="20" Source="/JustPlus;component/Images/Sina.png" Opacity="1" ToolTip="新浪微博" MouseLeftButtonDown="image10_MouseLeftButtonDown" />
        <Image Height="20" HorizontalAlignment="Left" Margin="74,192,0,0" Name="image11" Stretch="Fill" VerticalAlignment="Top" Width="16" Source="/JustPlus;component/Images/Tencent.png" ToolTip="腾讯微博" MouseLeftButtonDown="image11_MouseLeftButtonDown" />
        <Image Height="16" HorizontalAlignment="Left" Margin="94,195,0,0" Name="image12" Stretch="Fill" VerticalAlignment="Top" Width="16" Source="/JustPlus;component/Images/Renren.png" ToolTip="人人网" MouseLeftButtonDown="image12_MouseLeftButtonDown" />
        <Image Height="28" HorizontalAlignment="Left" Margin="26,220,0,0" Name="image13" Stretch="Fill" VerticalAlignment="Top" Width="211" Source="/JustPlus;component/Images/Logo1.png" />
        <Label Height="27" HorizontalAlignment="Left" Margin="26,67,0,0" Name="label3" VerticalAlignment="Top" Width="203" />
        <MediaElement Height="13" HorizontalAlignment="Left" Margin="243,25,0,0" Name="mediaElement1" VerticalAlignment="Top" Width="12" LoadedBehavior="Manual" UnloadedBehavior="Manual" MediaOpened="mediaElement1_MediaOpened" MediaEnded="mediaElement1_MediaEnded" />
        <Label Content="音乐加载中，请稍等..." Height="31" HorizontalAlignment="Left" Margin="6,86,0,0" Name="label6" VerticalAlignment="Top" Width="240" Style="{StaticResource GradLabel}" />
        <Grid.RenderTransform>
            <TransformGroup>
                <TranslateTransform x:Name="grid_translate2"/>
            </TransformGroup>
        </Grid.RenderTransform>
        <Grid.Triggers>
            <EventTrigger RoutedEvent="Grid.Loaded">
                <BeginStoryboard>
                    <Storyboard>
                        <DoubleAnimation Storyboard.TargetName="grid_translate2" Storyboard.TargetProperty="X" From="256" To="0" Duration="0:0:0.5"/>
                    </Storyboard>
                </BeginStoryboard>
            </EventTrigger>
        </Grid.Triggers>
    </Grid>
</UserControl>
